Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Displaying Raw • Download


Makefile 295be1a1585aa742095fdff38585dfd743794b27 (295be1a1) Text, 1.50 KB

Td2a8ffprepTff7b72:
arduino-cli core update-index --config-file arduino-cli.yaml
arduino-cli core install unsignedio:avr

Td2a8fffirmwareTff7b72:
arduino-cli compile --fqbn unsignedio:avr:rnode

Td2a8ffreleaseTff7b72:
arduino-cli compile --fqbn unsignedio:avr:rnode -e
cp build/unsignedio.avr.rnode/RNode_Firmware.ino.hex Precompiled/rnode_firmware_latest.hex
rm -r build

Td2a8ffuploadTff7b72:
arduino-cli upload -p /dev/ttyUSB0 --fqbn unsignedio:avr:rnode

Td2a8ffprep-tbeamTff7b72:
arduino-cli core update-index --config-file arduino-cli.yaml
arduino-cli core install esp32:esp32

Td2a8fffirmware-tbeamTff7b72:
arduino-cli compile --fqbn esp32:esp32:t-beam

Td2a8ffupload-tbeamTff7b72:
arduino-cli upload -p /dev/ttyUSB0 --fqbn esp32:esp32:t-beam

Td2a8ffrelease-tbeamTff7b72:
arduino-cli compile --fqbn esp32:esp32:t-beam -e
cp ~/.arduino15/packages/esp32/hardware/esp32/2.0.2/tools/partitions/boot_app0.bin Precompiled/rnode_firmware_latest_tbeam.boot_app0
cp build/esp32.esp32.t-beam/RNode_Firmware.ino.bin Precompiled/rnode_firmware_latest_tbeam.bin
cp build/esp32.esp32.t-beam/RNode_Firmware.ino.bootloader.bin Precompiled/rnode_firmware_latest_tbeam.bootloader
cp build/esp32.esp32.t-beam/RNode_Firmware.ino.partitions.bin Precompiled/rnode_firmware_latest_tbeam.partitions
zip Precompiled/rnode_firmware_latest_tbeam.zip Precompiled/rnode_firmware_latest_tbeam*
rm Precompiled/rnode_firmware_latest_tbeam.boot_app0
rm Precompiled/rnode_firmware_latest_tbeam.bin
rm Precompiled/rnode_firmware_latest_tbeam.bootloader
rm Precompiled/rnode_firmware_latest_tbeam.partitions
rm -r build


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────